c3e8c65b49790789c2a610e2f905e82b0573de70,testsuite/integration/src/test/java/org/jboss/as/testsuite/integration/ejb/remote/async/RemoteAsyncInvocationTestCase.java,RemoteAsyncInvocationTestCase,testLocalAsyncInvocationByValue,#,88
Before Change
LocalInterface remote = lookup(StatelessRemoteBean.class.getSimpleName(), LocalInterface.class);
remote.passByReference(array);
StatelessRemoteBean.startLatch.countDown();
StatelessRemoteBean.doneLatch.await(5, TimeUnit.SECONDS);
Assert.assertEquals("goodbye", array[0]);
}
After Change
remote.passByReference(array);
StatelessRemoteBean.startLatch.countDown();
if (!StatelessRemoteBean.doneLatch.await(5, TimeUnit.SECONDS)) {
throw new RuntimeException("Invocation was not asynchronous");
}
Assert.assertEquals("goodbye", array[0]);
}